package com.wing.res.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wing.res.dao.ResProQualityProjectDao;
import com.wing.res.model.entity.ResProQualityProject;
import com.wing.res.model.request.TestItemData;
import com.wing.res.service.ResProQualityProjectService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * sku产品质检-ServiceImpl
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-23 20:59
 **/
@Service
public class ResProQualityProjectServiceImpl extends ServiceImpl<ResProQualityProjectDao, ResProQualityProject> implements ResProQualityProjectService {
    /**
     * 根据id查询检测项信息
     * @param productDetailId
     * @return
     */
    @Override
    public List<TestItemData> getProjectInfoById(Long productDetailId) {
        return this.baseMapper.getProjectInfoById(productDetailId);
    }
}
